package me.zhengjie.minbearwcs.dao.rework.impl;

import lombok.RequiredArgsConstructor;
import me.zhengjie.minbearwcs.dao.rework.inf.ReworkTempMoveRecordDao;
import me.zhengjie.minbearwcs.entity.Mapper.rework.ReworkTempMoveRecordMapper;
import me.zhengjie.minbearwcs.entity.PO.wcs.rework.ReworkTempMoveRecord;
import org.springframework.stereotype.Repository;

@Repository
@RequiredArgsConstructor
public class ReworkTempMoveRecordDaoImpl implements ReworkTempMoveRecordDao {

    private final ReworkTempMoveRecordMapper mapper;

    @Override
    public boolean insert(ReworkTempMoveRecord reworkTempMoveRecord) {
        return mapper.insert(reworkTempMoveRecord) == 1;
    }
}
